home *** CD-ROM | disk | FTP | other *** search
/ Developer CD Series 1994 November: Tool Chest / Dev.CD Nov 94.toast / New System Software Extensions / OpenDoc A6 / OpenDoc Parts Framework / OPF / Found / FWDebug / Include / FWSTrace.h < prev    next >
Encoding:
C/C++ Source or Header  |  1994-04-21  |  895 b   |  33 lines  |  [TEXT/MPS ]

  1. #if !defined(FWSTRACE_H) && defined(FW_DEBUG)
  2. #define FWSTRACE_H
  3. //========================================================================================
  4. //
  5. //    File:                FWSTrace.h
  6. //    Release Version:    $ 1.0d1 $
  7. //
  8. //    Creation Date:        3/28/94
  9. //
  10. //    Copyright:    © 1994 by Apple Computer, Inc., all rights reserved.
  11. //
  12. //========================================================================================
  13.  
  14. #ifndef FWDBGSTR_H
  15. #include "FWDbgStr.h"
  16. #endif
  17.  
  18. class FW_CDebugConsole;
  19.  
  20. // Globals for runtime tracing
  21. struct FW_SPrivTraceGlobals
  22. {
  23.     FW_CDebugConsole*    gDebugConsole;            // Currently installed debug console
  24.     unsigned short    gTraceEnabled;            // Tracing enabling counter
  25.     FW_CDebugStream*    gTraceStream;            // Trace output stream
  26.     unsigned short      gTraceDepth;            // Depth of tracing (call depth)
  27. #ifdef FW_BUILD_WIN
  28.     void*                gTraceBuffer;            // Used to trace function calls
  29. #endif
  30. };
  31.  
  32. #endif
  33.